A special category of script properties exist within the SetPoint Button tool that allows scripting access to the configuration settings of the SetPoint Button for the following objects: TargetTag, DefaultValue, Prompt, and Status.
These objects contain several properties and functions like other CygNet COM objects, however they can only be accessed within the CygNet Studio Microsoft Visual Basic scripting environment. These objects cannot be created and must be accessed in the same way you would access properties and functions on other CygNet Studio controls. They hold configuration information that mimics the User Interface (UI) available on the [SetPoint] property configuration pages of the SetPoint Button tool. Any value that can be viewed or edited in the [SetPoint] UI can be changed via script for the SetPoint Button tool.
These objects also support the built-in Microsoft IntelliSense options (parameter info, quick info, complete word, etc.) available in other CygNet Studio tools.
These objects could be used in the case where some default configuration has been set in the [SetPoint] UI, and those settings could be verified or changed via script within the PreSetPoint and PostSetPoint events before and after a SetPoint operation. Alternatively, a script could be written to configure all the properties for the [SetPoint] UI, and then execute the SetPoint operation using the RunClick function within the SetPoint Button control.
TargetTag contains the following properties, which correspond to the Target point settings on the General page of the SetPoint Properties dialog box:
- Facility
- IsValid (method)
- LongPointID
- PointID
- Site
- Service
- SiteService
- Tag
- UDC
DefaultValue contains the following properties, which correspond to the Value, Timestamp, and Unreliable bit settings on the Default Value page of the SetPoint Properties dialog box:
Click to see the properties contained in SetPointButton.DefaultValue.AlternatePointValue.:
- FacilityId
- FullyQualifiedTag
- OverrideFacilityId
- OverrideSiteService
- OverrideUdc
- ResolvedPointTag — The ResolvedPointTag object is a CxScript.PointTag object. See CxScript.PointTag for more information. The PointTag object contains the following properties and method:
- Facility
- IsValid (method)
- LongPointID
- PointID
- Site
- Service
- SiteService
- Tag
- UDC
Prompt contains the following properties, which correspond to the Caption, Confirm and Cancel buttons, Displayed items, and Analog settings on the Prompt page of the SetPoint Properties dialog box:
Click here to see the properties contained in SetPointButton.Prompt.AnalogMaximumPoint.:
- FacilityId
- FullyQualifiedTag
- OverrideFacilityId
- OverrideSiteService
- OverrideUdc
- ResolvedPointTag — The ResolvedPointTag object is a CxScript.PointTag object. See CxScript.PointTag for more information. The PointTag object contains the following properties and method:
- Facility
- IsValid (method)
- LongPointID
- PointID
- Site
- Service
- SiteService
- Tag
- UDC
Click here to see the properties contained in SetPointButton.Prompt.AnalogMinimumPoint.:
- FacilityId
- FullyQualifiedTag
- OverrideFacilityId
- OverrideSiteService
- OverrideUdc
- ResolvedPointTag — The ResolvedPointTag object is a CxScript.PointTag object. See CxScript.PointTag for more information. The PointTag object contains the following properties and method:
- Facility
- IsValid (method)
- LongPointID
- PointID
- Site
- Service
- SiteService
- Tag
- UDC
Status contains the following properties, which correspond to the Status point, Initial value, and Advanced settings on the Status page of the SetPoint Properties dialog box:
Click to see the properties contained in SetPointButton.Status.StatusPoint.:
- FacilityId
- FullyQualifiedTag
- OverrideFacilityId
- OverrideSiteService
- OverrideUdc
- ResolvedPointTag — The ResolvedPointTag object is a CxScript.PointTag object. See CxScript.PointTag for more information. The PointTag object contains the following properties and method:
- Facility
- IsValid (method)
- LongPointID
- PointID
- Site
- Service
- SiteService
- Tag
- UDC